package com.xiongwei.manageback.service;

import com.xiongwei.manageback.DTO.LoginDTO;
import com.xiongwei.manageback.domain.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiongwei.manageback.utils.AjaxResult;

import java.util.List;

/**
* @author a
* @description 针对表【sys_user】的数据库操作Service
* @createDate 2023-10-27 17:08:49
*/
public interface SysUserService extends IService<SysUser> {

    AjaxResult login(LoginDTO loginDTO);

    void register(LoginDTO loginDTO);

    /**
     * 用户增长趋势
     * @return
     */
    List<Integer> userTendency();
}
